projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
865535a
)
Allow hiding variables in Customize
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 16 Jul 2021 10:55:21 +0000
(12:55 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 16 Jul 2021 10:55:21 +0000
(12:55 +0200)
* lisp/cus-edit.el (custom-toggle-hide-variable): Allow closing an
option even if there are unsaved changes (bug#11655).
lisp/cus-edit.el
patch
|
blob
|
history
diff --git
a/lisp/cus-edit.el
b/lisp/cus-edit.el
index a8b2640b7d3682a9a49bbfe4d7c07cf98e758db7..980a1cc71793bfec0fb3e031adbd1bae41604db2 100644
(file)
--- a/
lisp/cus-edit.el
+++ b/
lisp/cus-edit.el
@@
-2824,7
+2824,7
@@
the present value is saved to its :shown-value property instead."
(list (widget-value
(car-safe
(widget-get widget :children)))))
- (
error "
There are unsaved changes")))
+ (
message "Note:
There are unsaved changes")))
(widget-put widget :documentation-shown nil)
(widget-put widget :custom-state 'hidden))
(custom-redraw widget)